import {
	initConfig,
	initConfigGet,
} from "./requestConfig.js"

// 上传获取oss上传地址
export const oss_getDefaultConfig = (params, config = {}) =>
	initConfig("/digitalPortal/system/oss/config/getDefaultConfig", params, config);

// 获取oss上传token
export const getStsToken = (params = {}, config = {}) =>
	initConfig("/http/file/getOssToken", params, config);

// 识别身份证正面
export const recognizeIDFront = (params = {}, config = {}) =>
	initConfig("/oms/ocr/getIdCardBeforeData", params, config);

// 识别身份证反面
export const recognizeIDBack = (params = {}, config = {}) =>
	initConfig("/oms/ocr/getIdCardAfterData", params, config);

// 识别营业执照
export const recognizeBusinessLicense = (params = {}, config = {}) =>
	initConfig("/oms/ocr/getBusinessLicenseData", params, config);